package com.zyf.workflow.listener;

/**
 * 支持监听器，<code>{@link FlowListener}</code>,对<code>Flow</code>动作行为进行监听.
 * <code>{@link WorkListener}</code>，对<code>Work</code>相关动作进行监听，
 * <code>{@link NodeListener}</code>，对<node>Node</node>相关动作进行监听
 *
 * @author zhangyf
 * @since 2.0 - previously listeners were managed directly on the Scheduler interface.
 */
public interface ListenerManager {

    void addFlowListener(FlowListener flowListener);

    void addWorkListener(WorkListener workListener);

    void addNodeListener(NodeListener nodeListener);
}
